from dataclasses import dataclass


@dataclass
class ServiceName:
    account_deal_service: str = "account_deal_service"
    account_rent_service: str = "account_rent_service"
    pay_service: str = "pay_service"
    notice_service: str = "notice_service"
    personal_service: str = "personal_service"
    order_service: str = "order_service"


@dataclass
class ServicePort:
    account_deal_service: int = 6001
    account_rent_service: int = 6002
    personal_service: int = 6003
    game_manager_service: int = 6004
    advance_order_service: int = 6005


@dataclass
class NoticeAuth:
    ACCESS_KEY_ID = "LTAI5tFrxqkG6Ap2g1dBU7pR"
    ACCESS_KEY_SECRET = "IrRttZcXxanjbNRqI1evkEXTUNc0pN"
    SERVERHOST = "dysmsapi.aliyuncs.com"


@dataclass
class WXClient:
    URL = "https://api.weixin.qq.com/sns/jscode2session"
    APP_ID = "wxc0d9041b6ae1cf68"
    APP_KEY = "37e7e4421031f0b1f24769a0142ef957"
    GRANT_TYPE = "authorization_code"


@dataclass
class BaiduFaceVerify:
    ACCESS_TOKEN_URL = "https://aip.baidubce.com/oauth/2.0/token"
    API_KEY = "HHXZKEFI0P0t7aD5RsCBImcCR2qjQnnJ"
    SECRET_KEY = "sJKECkb5Jkmi9zokC2VuQw3u"



PRODUCT_URL = "https://linglongge.online"